package com.freesky.biz.icbc.model;

import com.icbc.api.AbstractIcbcRequest;
import com.icbc.api.BizContent;
import com.icbc.api.internal.util.fastjson.annotation.JSONField;

//客户权益预领取登记
public class IcbcEquityAdvanceRecRequestV1 extends AbstractIcbcRequest<IcbcEquityAdvanceRecResponseV1> {

    public Class<IcbcEquityAdvanceRecResponseV1> getResponseClass() {
        return IcbcEquityAdvanceRecResponseV1.class;
    }

    public boolean isNeedEncrypt()
    {
        return false;
    }

    public String getMethod() {
        return "POST";
    }

    public Class<? extends BizContent> getBizContentClass() {
        return IcbcEquityAdvanceRecRequestV1Biz.class;
    }

    public static class IcbcEquityAdvanceRecRequestV1Biz implements BizContent {

        @JSONField(name="mti")
        private String mti;

        @JSONField(name="mctcode")
        private String mctcode;

        @JSONField(name="activityid")
        private String activityid;

        @JSONField(name="openid")
        private String openid;

        @JSONField(name="mobileno")
        private String mobileno;

        @JSONField(name="irasno")
        private String irasno;

        @JSONField(name="orderid")
        private String orderid;

        @JSONField(name="getno")
        private String getno;

        @JSONField(name="ticketnum")
        private String ticketnum;

        @JSONField(name="iratype")
        private String iratype;

        @JSONField(name="ticketdescri")
        private String ticketdescri;

        @JSONField(name="trantime")
        private String trantime;

        @JSONField(name="body")
        private String body;

        public String getMti() {
            return mti;
        }

        public void setMti(String mti) {
            this.mti = mti;
        }

        public String getMctcode() {
            return mctcode;
        }

        public void setMctcode(String mctcode) {
            this.mctcode = mctcode;
        }

        public String getActivityid() {
            return activityid;
        }

        public void setActivityid(String activityid) {
            this.activityid = activityid;
        }

        public String getOpenid() {
            return openid;
        }

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public String getMobileno() {
            return mobileno;
        }

        public void setMobileno(String mobileno) {
            this.mobileno = mobileno;
        }

        public String getIrasno() {
            return irasno;
        }

        public void setIrasno(String irasno) {
            this.irasno = irasno;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getGetno() {
            return getno;
        }

        public void setGetno(String getno) {
            this.getno = getno;
        }

        public String getTicketnum() {
            return ticketnum;
        }

        public void setTicketnum(String ticketnum) {
            this.ticketnum = ticketnum;
        }

        public String getIratype() {
            return iratype;
        }

        public void setIratype(String iratype) {
            this.iratype = iratype;
        }

        public String getTicketdescri() {
            return ticketdescri;
        }

        public void setTicketdescri(String ticketdescri) {
            this.ticketdescri = ticketdescri;
        }

        public String getTrantime() {
            return trantime;
        }

        public void setTrantime(String trantime) {
            this.trantime = trantime;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }
    }

    public static class IcbcEquityAdvanceRecRequestV1BizBody{

        @JSONField(name="orderno")
        private String orderno;

        @JSONField(name="ticketcode")
        private String ticketcode;

        @JSONField(name="tickeramt")
        private String tickeramt;

        public String getOrderno() {
            return orderno;
        }

        public void setOrderno(String orderno) {
            this.orderno = orderno;
        }

        public String getTicketcode() {
            return ticketcode;
        }

        public void setTicketcode(String ticketcode) {
            this.ticketcode = ticketcode;
        }

        public String getTickeramt() {
            return tickeramt;
        }

        public void setTickeramt(String tickeramt) {
            this.tickeramt = tickeramt;
        }
    }
}
